package com.eastjet.maintenance.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 设备故障库表
 * @TableName device_efd
 */
@TableName(value ="device_efd")
@Data
public class DeviceEfd implements Serializable {
    /**
     * 设备故障库编号
     */
    @TableId(type = IdType.AUTO)
    private Integer efdId;

    /**
     * 设备故障库名称
     */
    private String efdName;

    /**
     * 设备故障库编码
     */
    private String code;

    /**
     * 设备类型编号
     */
    private Integer efdEquipmentId;

    /**
     * 故障类别编号
     */
    private Integer faultCategory;

    /**
     * 故障原因编号
     */
    private String efdCofId;

    /**
     * 故障部位编号
     */
    private String efdPartId;

    /**
     * 状态(0-启用 1-禁用)
     */
    private Integer efdState;

    /**
     * 备注
     */
    private String efdNotes;

    /**
     * 故障描述
     */
    private String description;

    /**
     * 创建人
     */
    private String insertPerson;

    /**
     * 创建时间
     */
    private Date insertTime;

    /**
     * 更新人
     */
    private String updatePerson;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 逻辑删除
     */
    private Integer isDelete;

    @Override
    public String toString() {
        return "DeviceEfd{" +
                "efdId=" + efdId +
                ", efdName='" + efdName + '\'' +
                ", code='" + code + '\'' +
                ", efdEquipmentId=" + efdEquipmentId +
                ", faultCategory=" + faultCategory +
                ", efdCofId='" + efdCofId + '\'' +
                ", efdPartId='" + efdPartId + '\'' +
                ", efdState=" + efdState +
                ", efdNotes='" + efdNotes + '\'' +
                ", description='" + description + '\'' +
                ", insertPerson='" + insertPerson + '\'' +
                ", insertTime=" + insertTime +
                ", updatePerson='" + updatePerson + '\'' +
                ", updateTime=" + updateTime +
                ", isDelete=" + isDelete +
                '}';
    }
}